package com.ruoyi.db.domain.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @author SampertZh
 * @description 账户明细输入类
 * @date 2022/7/4
 */
@ApiModel("账户明细输入类")
public class AccountDetailsDTO {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("姓名")
    private String realName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("账户类型（1余额明细 2VC明细 3总产值明细 4FTC小钱包明细 5FTC大钱包明细 6PC明细 7拼团基金 8线上产品券明细 9线下产品券明细 10预留资产明细 11活动资产明细）")
    private Integer type;

    @ApiModelProperty("交易类型 1.收入 2.支出")
    private String dealType;

    @ApiModelProperty("交易名称")
    private String dealName;

    @ApiModelProperty("交易数额")
    private BigDecimal price;

    @ApiModelProperty("交易说明")
    private String dealDetail;

    @ApiModelProperty("手续费")
    private  BigDecimal handlingFee;

    @ApiModelProperty("剩余数额")
    private BigDecimal remainingAmount;

    public Long getUserId() {
        return userId;
    }

    public AccountDetailsDTO setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public String getRealName() {
        return realName;
    }

    public AccountDetailsDTO setRealName(String realName) {
        this.realName = realName;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public AccountDetailsDTO setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public AccountDetailsDTO setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDealType() {
        return dealType;
    }

    public AccountDetailsDTO setDealType(String dealType) {
        this.dealType = dealType;
        return this;
    }

    public String getDealName() {
        return dealName;
    }

    public AccountDetailsDTO setDealName(String dealName) {
        this.dealName = dealName;
        return this;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public AccountDetailsDTO setPrice(BigDecimal price) {
        this.price = price;
        return this;
    }

    public String getDealDetail() {
        return dealDetail;
    }

    public AccountDetailsDTO setDealDetail(String dealDetail) {
        this.dealDetail = dealDetail;
        return this;
    }

    public BigDecimal getHandlingFee() {
        return handlingFee;
    }

    public AccountDetailsDTO setHandlingFee(BigDecimal handlingFee) {
        this.handlingFee = handlingFee;
        return this;
    }

    public BigDecimal getRemainingAmount() {
        return remainingAmount;
    }

    public AccountDetailsDTO setRemainingAmount(BigDecimal remainingAmount) {
        this.remainingAmount = remainingAmount;
        return this;
    }
}
